#pragma once

#if BUILDING_LIBICONV
#define LIBICONV_DLL_EXPORTED __declspec(dllexport)
#elif USING_STATIC_LIBICONV
#define LIBICONV_DLL_EXPORTED
#else
#define LIBICONV_DLL_EXPORTED __declspec(dllimport)
#endif

#include <lua.hpp>
extern "C" LIBICONV_DLL_EXPORTED int luaopen_libiconv(lua_State *L);
